package cn.qingxuntech.console.entity

import com.fasterxml.jackson.annotation.JsonFormat
import com.mybatisflex.annotation.Id
import com.mybatisflex.annotation.Table
import java.time.LocalDateTime

/**
 * 计算小时报表
 */
@Table("t_calc_hour_report")
open class CalcHourReport {

    @Id
    val id: Long? = null

    var adspaceId: String? = null
    var mediaId: String? = null
    var conid: Int? = null
    var dt: String? = null
    var hour: String? = null
    var requests: Long? = null
    var forwards: Long? = null
    var noAds: Long? = null
    var lowPrices: Long? = null
    var errors: Long? = null
    var limits: Long? = null
    var timeouts: Long? = null
    var wins: Long? = null
    var fails: Long? = null
    var imps: Long? = null
    var clicks: Long? = null
    var prices: Long? = null
    var rprices: Long? = null
    var iprices: Long? = null
    var mincomes: Long? = null
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    var createTime: LocalDateTime? = null
}